const { src } = require('gulp');

/**
 * 清空目标目录
 * 安装：npm install --save-dev gulp-clean
 */
 const gulpClean = require('gulp-clean');

 const clear = () => {
    return src('dist/*')
    .pipe(gulpClean())
 }


module.exports = clear;